/*
 * Archivable.java
 *
 * Created on January 9, 2008, 8:09 PM
 */

package picto.io;

import java.util.Iterator;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 * An Archivable object is one that can be entered into a Picto archive.  
 * 
 * @author davedes
 */
public interface Archivable {
    
    public Element write(ArchiveWriter writer) throws ArchiveException;
    public void read(ArchiveReader reader, Element root) throws ArchiveException;
}
